Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change default collation allowance #170

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Climax777
Copy link

@Climax777 Climax777 commented Nov 13, 2023

Make provision for C_COLLATION_OID and POSIX_COLLATION_OID, which are also built-in types.

I'm not 100% sure what the impact will be, but everywhere specifically DEFAULT_COLLATION_OID was used, the other two are allowed now as well.

This fixes #169 and pushes down ObjectID queries for all columns.

Make provision for C_COLLATION_OID and POSIX_COLLATION_OID which are also built-in types.
@vaibhavdalvi93
Copy link

@Climax777 , Thanks for the patches. At a glance, changes looks good to me. However, I will have a deeper look into it.

@Climax777
Copy link
Author

I found out that $in and $expr cannot make use of indexes. Only equality tests.

I will work in a bigger patch for normal top level $match requests to be flattened and just use normal query style formatting.

Should I rather make a new pull request to keep things simple and clear?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No WHERE pushdown for ObjectID (NAME) based queries.
2 participants